package com.ttg.model.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ttg.model.pojo.MctLastGradeBak;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;


public interface MctLastGradeBakMapper extends BaseMapper<MctLastGradeBak> {

    @Update("TRUNCATE TABLE tbl_mct_last_grade_bak")
    void truncateOldRecords();

    void mctBak(@Param("date") Integer date);
}
